package com.renyi.util;

import org.springframework.stereotype.Service;





/**
 * 服务器HTTP服务配置类
 */
public class ConfigUtil {
	public static String DEFAULTCONFIG= "/configure.properties";


	private static String imgUploadURL; 
	private static String ryAppappUpdateURL; //仁医
	private static String ryAppVersion; 
	private static String ryysAppappUpdateURL; //仁医医生
	private static String ryysAppVersion;
	
	static {
		imgUploadURL = PropertyReader.getValue(DEFAULTCONFIG, "imgUploadURL");
		ryAppVersion = PropertyReader.getValue(DEFAULTCONFIG, "ryAppVersion");
		ryAppappUpdateURL = PropertyReader.getValue(DEFAULTCONFIG, "ryAppappUpdateURL");
		ryysAppVersion = PropertyReader.getValue(DEFAULTCONFIG, "ryysAppVersion");
		ryysAppappUpdateURL = PropertyReader.getValue(DEFAULTCONFIG, "ryysAppappUpdateURL");
	}
	
	public static String getImgUploadURL(){
		return imgUploadURL;
		
	}
	
	public static String getRyAppappUpdateURL() {
		return ryAppappUpdateURL;
	}


	public static String getRyAppVersion() {
		return ryAppVersion;
	}

	public static String getRyysAppappUpdateURL() {
		return ryysAppappUpdateURL;
	}


	public static String getRyysAppVersion() {
		return ryysAppVersion;
	}
	 
	

	
}
